<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>flex 双飞翼(圣杯)布局</title>
		<style>
			.box {
				background-color: lightgreen;
				display: flex;
			}
			.box .left {
				width: 230px;
				height: 100vh;
				background-color: lightpink;
				/* 不允许缩小 */
				flex-shrink: 0;
			}
			.box .right {
				height: 100vh;
				width: 230px;
				background-color: lightblue;
				/* 不允许缩小 */
				flex-shrink: 0;
			}
			.box .center {
				background-color: #ff0;
				height: 100vh;
				/* 允许放大并占有父容器所所有剩余空间 */
				flex-grow: 1;
			}
		</style>
	</head>
	<body>
		<div class="box">
			<div class="left">不放大不缩小</div>
			<div class="center">会放大会缩小</div>
			<div class="right">不放大不缩小</div>
		</div>
	</body>
</html>